﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tum.CollabXT
{
    /// <summary>
    /// Composition of a topic. Describes that a topic is part of another topic.
    /// </summary>
    [AssociationKind(AssociationType.Composition, AssociationDirection.Directed)]
    public class TopicToSubTopic : Association<ITopic, ITopic>
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public TopicToSubTopic(ITopic parentTopic, ITopic childTopic)
            : base(parentTopic, childTopic)
        {
        }
    }
}
